﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200020D RID: 525
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueChangeyAeonDimensionNotify : IMessage<ChessRogueChangeyAeonDimensionNotify>, IMessage, IEquatable<ChessRogueChangeyAeonDimensionNotify>, IDeepCloneable<ChessRogueChangeyAeonDimensionNotify>, IBufferMessage
	{
		// Token: 0x170006DF RID: 1759
		// (get) Token: 0x06001786 RID: 6022 RVA: 0x0004320F File Offset: 0x0004140F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueChangeyAeonDimensionNotify> Parser
		{
			get
			{
				return ChessRogueChangeyAeonDimensionNotify._parser;
			}
		}

		// Token: 0x170006E0 RID: 1760
		// (get) Token: 0x06001787 RID: 6023 RVA: 0x00043216 File Offset: 0x00041416
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueChangeyAeonDimensionNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170006E1 RID: 1761
		// (get) Token: 0x06001788 RID: 6024 RVA: 0x00043228 File Offset: 0x00041428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueChangeyAeonDimensionNotify.Descriptor;
			}
		}

		// Token: 0x06001789 RID: 6025 RVA: 0x0004322F File Offset: 0x0004142F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueChangeyAeonDimensionNotify()
		{
		}

		// Token: 0x0600178A RID: 6026 RVA: 0x00043237 File Offset: 0x00041437
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueChangeyAeonDimensionNotify(ChessRogueChangeyAeonDimensionNotify other) : this()
		{
			this.info_ = ((other.info_ != null) ? other.info_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600178B RID: 6027 RVA: 0x0004326C File Offset: 0x0004146C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueChangeyAeonDimensionNotify Clone()
		{
			return new ChessRogueChangeyAeonDimensionNotify(this);
		}

		// Token: 0x170006E2 RID: 1762
		// (get) Token: 0x0600178C RID: 6028 RVA: 0x00043274 File Offset: 0x00041474
		// (set) Token: 0x0600178D RID: 6029 RVA: 0x0004327C File Offset: 0x0004147C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueQueryAeon Info
		{
			get
			{
				return this.info_;
			}
			set
			{
				this.info_ = value;
			}
		}

		// Token: 0x0600178E RID: 6030 RVA: 0x00043285 File Offset: 0x00041485
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueChangeyAeonDimensionNotify);
		}

		// Token: 0x0600178F RID: 6031 RVA: 0x00043293 File Offset: 0x00041493
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueChangeyAeonDimensionNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Info, other.Info) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001790 RID: 6032 RVA: 0x000432C8 File Offset: 0x000414C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.info_ != null)
			{
				num ^= this.Info.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001791 RID: 6033 RVA: 0x00043304 File Offset: 0x00041504
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001792 RID: 6034 RVA: 0x0004330C File Offset: 0x0004150C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001793 RID: 6035 RVA: 0x00043315 File Offset: 0x00041515
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.info_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.Info);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001794 RID: 6036 RVA: 0x00043348 File Offset: 0x00041548
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.info_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Info);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001795 RID: 6037 RVA: 0x00043388 File Offset: 0x00041588
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueChangeyAeonDimensionNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.info_ != null)
			{
				if (this.info_ == null)
				{
					this.Info = new ChessRogueQueryAeon();
				}
				this.Info.MergeFrom(other.Info);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001796 RID: 6038 RVA: 0x000433DC File Offset: 0x000415DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001797 RID: 6039 RVA: 0x000433E8 File Offset: 0x000415E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.info_ == null)
					{
						this.Info = new ChessRogueQueryAeon();
					}
					input.ReadMessage(this.Info);
				}
			}
		}

		// Token: 0x040009CC RID: 2508
		private static readonly MessageParser<ChessRogueChangeyAeonDimensionNotify> _parser = new MessageParser<ChessRogueChangeyAeonDimensionNotify>(() => new ChessRogueChangeyAeonDimensionNotify());

		// Token: 0x040009CD RID: 2509
		private UnknownFieldSet _unknownFields;

		// Token: 0x040009CE RID: 2510
		public const int InfoFieldNumber = 2;

		// Token: 0x040009CF RID: 2511
		private ChessRogueQueryAeon info_;
	}
}
